/**
 * @type {NilTableColumn[]}
 */
export const demo_columns = [
  {
    prop: "name",
    label: "昵称",
  },
  {
    prop: "account",
    label: "账号",
  },
  {
    prop: "option",
    label: "操作",
    width: "200px",
  },
];

/**
 * @type {NilTableColumn[]}
 */
export const user_columns = [
  // {
  //   prop: "head",
  //   label: "头像",
  //   width: "80px",
  // },
  {
    prop: "name",
    label: "昵称",
  },
  {
    prop: "account",
    label: "账号",
  },
  {
    prop: "status",
    label: "状态",
  },
  {
    prop: "roleId",
    label: "角色",
  },
  {
    prop: "option",
    label: "操作",
    width: "200px",
  },
];

/**
 * @type {NilTableColumn[]}
 */
export const role_columns = [
  { prop: "roleKey", label: "角色 KEY" },
  { prop: "roleName", label: "角色 名称" },
  {
    prop: "option",
    label: "操作",
    width: "200px",
  },
];

/**
 * @type {NilTableColumn[]}
 */
export const swipe_columns = [
  { prop: "pic", label: "图片", width: "120px" },
  { prop: "page", label: "路径" },
  { prop: "type", label: "类型", width: "120px" },
  { prop: "sort", label: "排序", width: "60px" },
  {
    prop: "option",
    label: "操作",
    width: "200px",
  },
];
